﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GetRepairDetailEdit.aspx.cs" Inherits="DuJianliang.ApplicationPlatform.GetRepair.GetRepairDetailEdit1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Expires" content="0" /> 
    <meta http-equiv="Cache-Control" content="no-cache" /> 
    <meta http-equiv="Pragma" content="no-cache" />
    <title></title>
    <base target="_self" />
    <style type="text/css">
        #editTable
        {
            background-color: #000000;            
        }
        #editTable td
        {
            background-color: #ffffff;
            padding: 10px 10px 10px 10px;
        }
    </style>
    <script type="text/javascript">
        function showPage() {
            var retValue = window.showModalDialog(encodeURI("DispatchMissileSelect.aspx"), "", "dialogWidth=800px;dialogHeight=600px");
            if (retValue != "" && typeof (retValue) != "undefined") {
                var retValues = retValue.split('|');
                document.getElementById('<%=HiddenField1.ClientID%>').value = retValues[0];
                document.getElementById('<%=txt1.ClientID%>').value = retValues[0];
                document.getElementById('<%=HiddenField2.ClientID%>').value = retValues[1];
                document.getElementById('<%=txt2.ClientID%>').value = retValues[1];
                document.getElementById('<%=HiddenField3.ClientID%>').value = retValues[2];
                document.getElementById('<%=txt3.ClientID%>').value = retValues[2];
                document.getElementById('<%=HiddenField4.ClientID%>').value = retValues[3];
                document.getElementById('<%=txt4.ClientID%>').value = retValues[3];
                document.getElementById('<%=HiddenField5.ClientID%>').value = retValues[4];
                document.getElementById('<%=txt5.ClientID%>').value = retValues[4];
                document.getElementById('<%=HiddenField6.ClientID%>').value = retValues[5];
                document.getElementById('<%=txt6.ClientID%>').value = retValues[5];
                document.getElementById('<%=HiddenField7.ClientID%>').value = retValues[6];
                document.getElementById('<%=txt7.ClientID%>').value = retValues[6];
                document.getElementById('<%=HiddenField8.ClientID%>').value = retValues[7];
            }
            return false;
        }
    </script>
</head>
<body style="font-size:12px">
    <form id="form1" runat="server">
    <div>
    <table id="editTable" width="600px" border="0" cellpadding="0" cellspacing="1" align="center">
      <tr>
        <td colspan="2" align="center">领修单<asp:HiddenField ID="HiddenField8" 
                runat="server" />
          </td>        
      </tr>
      <tr>
        <td width="150px">产品名称</td>
        <td>
            <asp:TextBox ID="txt1" runat="server" Width="300px" ReadOnly="True"></asp:TextBox>
            <input id="Button1" type="button" value="选择" onclick="showPage()" />
            <asp:HiddenField ID="HiddenField1" runat="server" />
        </td>
      </tr>
      <tr>
        <td>型号</td>
        <td>
            <asp:TextBox ID="txt2" runat="server" Width="300px" ReadOnly="True"></asp:TextBox>
            <asp:HiddenField ID="HiddenField2" runat="server" />
          </td>
      </tr>
      <tr>
        <td>件号</td>
        <td>
            <asp:TextBox ID="txt3" runat="server" Width="300px" ReadOnly="True"></asp:TextBox>
            <asp:HiddenField ID="HiddenField3" runat="server" />
          </td>
      </tr>
      <tr>
        <td>单位</td>
        <td>
            <asp:TextBox ID="txt4" runat="server" Width="300px" ReadOnly="True"></asp:TextBox>
            <asp:HiddenField ID="HiddenField4" runat="server" />
          </td>
      </tr>
      <tr>
        <td>数量</td>
        <td>
            <asp:TextBox ID="txt5" runat="server" Width="300px" ReadOnly="True"></asp:TextBox>
            <asp:HiddenField ID="HiddenField5" runat="server" />
          </td>
      </tr>
      <tr>
        <td>送修单位</td>
        <td>
            <asp:TextBox ID="txt6" runat="server" Width="300px" ReadOnly="True"></asp:TextBox>
            <asp:HiddenField ID="HiddenField6" runat="server" />
          </td>
      </tr>
      <tr>
        <td>入场日期</td>
        <td>
            <asp:TextBox ID="txt7" runat="server" Width="300px" ReadOnly="True"></asp:TextBox>
            <asp:HiddenField ID="HiddenField7" runat="server" />
          </td>
      </tr>
      <tr>
        <td>备注</td>
        <td>
            <asp:TextBox ID="txt8" runat="server" Width="300px"></asp:TextBox>
          </td>
      </tr>
      <tr>
        <td colspan="2" align="center">
            <asp:Button ID="btnOK" runat="server" Text="确定" Width="60px" 
                onclick="btnOK_Click" />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Button ID="btnCancel" runat="server" Text="取消" Width="60px" 
                onclick="btnCancel_Click" CausesValidation="False" />
          </td>        
      </tr>
    </table>
    </div>
    </form>
</body>
</html>
